package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 角色表 sys_role
 * 
 * @author ruoyi
 */
public class AppMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String id;

    private String appMenuId;

    private String appMenuName;

    /** 用户是否存在此岗位标识 默认不存在 */
    private boolean flag = false;

    public AppMenu(String id, String appMenuId, String appMenuName) {
        this.id = id;
        this.appMenuId = appMenuId;
        this.appMenuName = appMenuName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appMenuId", getAppMenuId())
            .append("appMenuName", getAppMenuName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

    public String getAppMenuId() {
        return appMenuId;
    }

    public void setAppMenuId(String appMenuId) {
        this.appMenuId = appMenuId;
    }

    public String getAppMenuName() {
        return appMenuName;
    }

    public void setAppMenuName(String appMenuName) {
        this.appMenuName = appMenuName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}
